﻿using FDStudio.Core.Entities;
using FDStudio.Core.Entities.Enums;
using FDStudio.Core.Entities.Query;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq.Expressions;

namespace FDStudio.Core.Repositories
{
    /*
     CreatedOn: 2018-03-07
     CreatedBy: Jackie Lee(天宇遊龍)
     */
    /// <summary>
    /// 仓储上下文
    /// </summary>
    public interface IRepositoryContext : IDisposable
    {
        /// <summary>
        /// 数据库类型
        /// </summary>
        DatabaseType DatabaseType { get; }

        void Switch(DatabaseType databaseType, string name);

    }
}
